//
//  CollectModel.m
//  UIA段项目 墨家天气
//
//  Created by dllo on 15/9/5.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "CollectModel.h"

@implementation CollectModel
-(void)dealloc
{
    [super dealloc];
    [_imageStr release];
    [_title release];
}
- (instancetype)initWithCollectImageStr:(NSString *)imageStr title:(NSString *)title
{
    self = [super init];
    if (self) {
        
    self.imageStr = imageStr;
    self.title = title;
    }
    return self;
    
}
+ (instancetype)collectWithCollectImageStr:(NSString *)imageStr title:(NSString *)title
{
    
    CollectModel *model = [[CollectModel alloc]initWithCollectImageStr:imageStr title:title];
    [model autorelease];
    return model;
    
}

@end
